<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Center</title>
    <style>
        .wrp{
            background-color: #1e1e1e;
            width: 800px;
            height: 600px;

        }

        .box{
            color: white;
            background-color: #3c763d;
            width: 200px;
            height: 120px;
            overflow: auto;
        }


        .wrp1{
            position: relative;
        }
        .box1{
            /*top: 100px;*/
            /*bottom: 100px;*/
            /*left: 100px;*/
            /*right: 100px;*/
            margin: auto;
            position: absolute;
            left: 0;
            right: 0;
            top:0;
            bottom: 0;
        }
    </style>
</head>
<body >

<div class="wrp wrp1">
    <div class="box box1">
        <h1>hello girl</h1>
        <!--    <img src="img/girl.jpg" style="width: 400px;height: auto">-->
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus aliquam blanditiis, error facere hic natus vel. A aliquam assumenda beatae dolorum hic, incidunt inventore nesciunt pariatur recusandae ullam? Sint, tenetur.</p>
    </div>
</div>

</body>
</html>